package com.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pojo.Manager;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface ManagerDao extends BaseMapper<Manager> {
    @Select("select *from test2.tb_manager where username=#{username} and password=#{password}")
       public Manager login(Manager manager);
}
